﻿using Core.Event;
using Game.UI;
using Game.UI.Weapon;
using UnityEngine.InputSystem;

public partial class GameInput {
    private void registerCombatEvents() {
        mPlayerInput.Combat.Attack.performed += onTriggerWeapon;
    }
    private void onTriggerWeapon(InputAction.CallbackContext context) {
        GameEventMgr.Ins.PushEvent(GameEventID.TriggerWeapon,context);
    }
}